[INFO] cloning repository https://github.com/LatekVon/evolution-algo-1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LatekVon/evolution-algo-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 741732656a18daaed40e873fbc95f8967ee26c04
[INFO] building LatekVon/evolution-algo-1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatekVon%2Fevolution-algo-1" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LatekVon/evolution-algo-1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LatekVon/evolution-algo-1
[INFO] finished tweaking git repo https://github.com/LatekVon/evolution-algo-1
[INFO] tweaked toml for git repo https://github.com/LatekVon/evolution-algo-1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/LatekVon/evolution-algo-1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c08a53505e87d2ce80958a1515d2f174b740f06a5515a56a6f64290d1adee387
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c08a53505e87d2ce80958a1515d2f174b740f06a5515a56a6f64290d1adee387", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c08a53505e87d2ce80958a1515d2f174b740f06a5515a56a6f64290d1adee387", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c08a53505e87d2ce80958a1515d2f174b740f06a5515a56a6f64290d1adee387", kill_on_drop: false }`
[INFO] [stdout] c08a53505e87d2ce80958a1515d2f174b740f06a5515a56a6f64290d1adee387
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d650c75b8590f6e0ebc2a517ac857774bd5534e140ea7eee8e1e4d4c0a6397c6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d650c75b8590f6e0ebc2a517ac857774bd5534e140ea7eee8e1e4d4c0a6397c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling weezl v0.1.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling gif v0.11.1
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling face-fronter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ai_module.rs:329:17
[INFO] [stdout]     |
[INFO] [stdout] 329 |             for i in 0..THREAD_CNT-2 {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> src/ai_module.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let results = self.calculate(Vec::new());
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `training_data`
[INFO] [stdout]    --> src/ai_module.rs:321:29
[INFO] [stdout]     |
[INFO] [stdout] 321 |     pub fn train(&mut self, training_data: Vec<DataNode>) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/ai_rw.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut file = std::fs::File::create(&name); 
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layer_v`
[INFO] [stdout]    --> src/ai_rw.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut layer_v: Vec<ai_module::Node> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `node_cnt` is assigned to, but never used
[INFO] [stdout]    --> src/ai_rw.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let node_cnt: usize = 0;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_node_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.inp_mult` which is behind a shared reference
[INFO] [stdout]    --> src/ai_module.rs:200:10
[INFO] [stdout]     |
[INFO] [stdout] 200 |         (self.inp_mult, self.inp_off)
[INFO] [stdout]     |          ^^^^^^^^^^^^^ move occurs because `self.inp_mult` has type `Vec<f32>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.inp_off` which is behind a shared reference
[INFO] [stdout]    --> src/ai_module.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |         (self.inp_mult, self.inp_off)
[INFO] [stdout]     |                         ^^^^^^^^^^^^ move occurs because `self.inp_off` has type `Vec<f32>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ai_rw.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut file = std::fs::File::create(&name); 
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ai_rw.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut layer_v: Vec<ai_module::Node> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `tmp_inp_off`
[INFO] [stdout]    --> src/ai_rw.rs:178:33
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut tmp_inp_off: Vec<f32> = Vec::new();
[INFO] [stdout]     |         --------------- move occurs because `tmp_inp_off` has type `Vec<f32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 178 |                                 tmp_inp_off.clone().push(val.parse().unwrap());
[INFO] [stdout]     |                                 ^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout] ...
[INFO] [stdout] 214 |                         tmp_inp_off,
[INFO] [stdout]     |                         ----------- value moved here, in previous iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `tmp_inp_mult`
[INFO] [stdout]    --> src/ai_rw.rs:181:33
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let mut tmp_inp_mult: Vec<f32> = Vec::new();
[INFO] [stdout]     |         ---------------- move occurs because `tmp_inp_mult` has type `Vec<f32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 181 |                                 tmp_inp_mult.clone().push(val.parse().unwrap());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout] ...
[INFO] [stdout] 215 |                         tmp_inp_mult
[INFO] [stdout]     |                         ------------ value moved here, in previous iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `node_cnt`
[INFO] [stdout]    --> src/ai_rw.rs:220:21
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let node_cnt: usize = 0;
[INFO] [stdout]     |         --------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         first assignment to `node_cnt`
[INFO] [stdout]     |         help: consider making this binding mutable: `mut node_cnt`
[INFO] [stdout] ...
[INFO] [stdout] 220 |                     node_cnt += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0384, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `face-fronter`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "d650c75b8590f6e0ebc2a517ac857774bd5534e140ea7eee8e1e4d4c0a6397c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d650c75b8590f6e0ebc2a517ac857774bd5534e140ea7eee8e1e4d4c0a6397c6", kill_on_drop: false }`
[INFO] [stdout] d650c75b8590f6e0ebc2a517ac857774bd5534e140ea7eee8e1e4d4c0a6397c6
